<!doctype html>
<html lang="en">
<head>

<?php include './inc/css.html'; ?>

<style type="text/css">

</style>

</head>
<body>

<?php include './inc/header.html'; ?>


<div class="wrap animated fadeIn" id="profile">
<div class="line1"></div>

<!-- Start 实训室 -->

<div class="profilepanel clearfix limit-width">
    

<div class="userinfo fl pc20 _bg_light">
    <?php include './inc/userinfo.html'; ?>
</div>



<div class="listinfo fr pc75">
        <div class="listtitle lh4 p15 _bg_light">
            <?php if($_GET['left']=='fav'){ ?>

                <?php if($_GET['right']=='course'){ ?>

                   <a class="_active_primary ion-ios-book-outline" href="javascript:void(0);"> 课程</a> 
                   <a class="ion-ios-bookmarks-outline" href="./profile.php?left=fav&right=chapter"> 章节</a>

                <?php }elseif($_GET['right']=='chapter'){ ?>

                   <a class="ion-ios-book-outline" href="./profile.php?left=fav&right=course"> 课程</a> 
                   <a class="_active_primary ion-ios-bookmarks-outline" href="javascript:void(0);"> 章节</a>

                <?php } ?>

            <?php }elseif($_GET['left']=='courseware'){ ?>

                <span>课件中心</span>

            <?php }elseif($_GET['left']=='teacher'){ ?>

                <?php if($_GET['right']=='repair'){ ?>

                    <a class="_active_primary ion-settings" href="javascript:void(0);"> 报修</a> 
                    <a class="ion-ios-email-outline" href="./profile.php?left=teacher&right=message"> 通知</a>
                    <a class="ion-plus-circled fr p15" href="./repair_add.php"> 去报修</a>

                <?php }elseif($_GET['right']=='message'){ ?>

                    <a class="ion-settings" href="./profile.php?left=teacher&right=repair"> 报修</a> 
                    <a class="ion-ios-email-outline _active_primary" href="javascript:void(0);"> 通知</a>
                    <a class="ion-plus-circled fr p15" href="./message_add.php"> 发通知</a>

                <?php } ?>

            <?php } ?>
        </div>

        <div class="listcontent _bg_light">

            <div class="row list">

                <?php if($_GET['left']=='fav'){ ?>

                    <?php if($_GET['right']=='course'){ ?>

                        <?php include './inc/courselist.html'; ?>

                    <?php }elseif($_GET['right']=='chapter'){ ?>

                        <?php include './inc/chapterlist.html'; ?>

                    <?php } ?>

                <?php }elseif($_GET['left']=='courseware'){ ?>

                        <?php include './inc/coursewarelist.html'; ?>

                <?php }elseif($_GET['left']=='teacher'){ ?>

                    <?php if($_GET['right']=='repair'){ ?>

                        <?php include './inc/repairlist.html'; ?>

                    <?php }elseif($_GET['right']=='message'){ ?>

                        <?php include './inc/messagelist.html'; ?>

                    <?php } ?>

                <?php } ?>



            </div>
        </div>




        <div class="dbpages">
            <ul>
                <li><a class="active" href="">1</a></li>
                <li><a href="">2</a></li>
                <li><a href="">3</a></li>
                <li><a href="">4</a></li>
                <li><a href="">5</a></li>
            </ul>
        </div>

</div>

    
</div>
<div class="line1"></div>
</div>   

<?php include './inc/footer.html'; ?>
</body>

<?php include './inc/js.html'; ?>
<script type="text/javascript">
$(document).ready(function(){
    initfooter();
})

</script>
</html>